package com.omall.open.sdk.response;

import com.omall.open.sdk.OmallResponse;
import com.omall.open.sdk.domain.LogisticsCompany;

import java.util.List;

/**
 * @author 枫伦
 * @description: TODO
 * @date 2020/10/22 6:34 下午
 */
public class LogisticsListResponse extends OmallResponse {

    private static final long serialVersionUID = 1912419577085566602L;
    private List<LogisticsCompany> logisticsCompanies;
    @Override
    public Class<?> getResultType() {
        return LogisticsCompany.class;
    }

    @Override
    public void setResult(Object result) {
        logisticsCompanies = (List<LogisticsCompany>) result;
    }

    public List<LogisticsCompany> getLogisticsCompanies() {
        return this.logisticsCompanies;
    }

    public void setLogisticsCompanies(List<LogisticsCompany> logisticsCompanies) {
        this.logisticsCompanies = logisticsCompanies;
    }
}
